const app = getApp()
Page({
    data: {
        navTitle: "个人信息档案",
        icon_next_page: "https://ai-cdn.joyoung.com/ia/images/dietary/icon_next_white.png",
        // screenHeight: app.globalData.systemInfo.screenHeight,
        // windowHeight: app.globalData.systemInfo.windowHeight,
        // kMarginTop: app.globalData.navigationBarHeight,
        // navBarHeight: app.globalData.navigationBarHeight,
    },
    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function(options) {
        var that = this;
        var i = 100;
        for(i; i < 230; i++){
           console.log(i);
        }

        var bodyHeight = [
            {
                heightNum: 170
            },
            {
                heightNum: 171
            },
            {
                heightNum: 172
            },
            {
                heightNum: 173
            },
            {
                heightNum: 174
            },
            {
                heightNum: 175
            },
            {
                heightNum: 176
            },
            {
                heightNum: 177
            },
            {
                heightNum: 178
            },
            {
                heightNum: 179
            },
            {
                heightNum: 180
            }
        ]

        // 腰围
        var bodyWaist = [
            {
                waistNum: 85
            },
            {
                waistNum: 86
            },
            {
                waistNum: 87
            },
            {
                waistNum: 88
            },
            {
                waistNum: 89
            },
            {
                waistNum: 90
            },
            {
                waistNum: 91
            },
            {
                waistNum: 92
            },
            {
                waistNum: 93
            },
            {
                waistNum: 94
            },
            {
                waistNum: 95
            }
        ]

        var bodyWeight = [
            {
                weightNum: 50
            },
            {
                weightNum: 50.5
            },
            {
                weightNum: 51
            },
            {
                weightNum: 51.5
            },
            {
                weightNum: 52
            },
            {
                weightNum: 52.5
            },
            {
                weightNum: 53
            },
            {
                weightNum: 53.5
            },
            {
                weightNum: 54
            },
            {
                weightNum: 54.5
            },
            {
                weightNum: 55
            },
            {
                weightNum: 55.5
            },
            {
                weightNum: 56
            },
            {
                weightNum: 56.5
            },
            {
                weightNum: 57
            },
            {
                weightNum: 57.5
            },
            {
                weightNum: 58
            },
            {
                weightNum: 58.5
            },
            {
                weightNum: 59
            },
            {
                weightNum: 59.5
            },
            {
                weightNum: 60
            },
            {
                weightNum: 60.5
            },
        ]

        that.setData({
            bodyHeight: bodyHeight,
            bodyWaist: bodyWaist,
            bodyWeight: bodyWeight
        })

    },

    onShow: function() {

    },


})
